package vn.hocweb.entity;

import java.sql.Date;
import java.util.ArrayList;
import java.util.List;

public abstract class BaiHoc_Abstract extends Entity{
	private long maBaiHoc;
	
	private NguoiDung nguoiCapNhat;
	
	private String ten;
	private String moTa;
	private String ghiChu;
	private int soLanXem;
	private Date ngayCapNhat;
	
	private List<DanhMuc> danhSach_DanhMuc;

	public BaiHoc_Abstract(long maBaiHoc, String nguoiCapNhat, String ten,
			String moTa, String ghiChu, int soLanXem, Date ngayCapNhat, 
			int thuTu, boolean noiBat, boolean hienThi) {
		super(thuTu, noiBat, hienThi);
		this.maBaiHoc = maBaiHoc;
		this.nguoiCapNhat = new NguoiDung(nguoiCapNhat);
		this.ten = ten;
		this.moTa = moTa;
		this.ghiChu = ghiChu;
		this.soLanXem = soLanXem;
		this.ngayCapNhat = ngayCapNhat;
		this.danhSach_DanhMuc = new ArrayList<DanhMuc>();
	}
	
	public BaiHoc_Abstract(long maBaiHoc) {
		this.maBaiHoc = maBaiHoc;
	}

	public long getMaBaiHoc() {
		return maBaiHoc;
	}

	public void setMaBaiHoc(long maBaiHoc) {
		this.maBaiHoc = maBaiHoc;
	}

	public NguoiDung getNguoiCapNhat() {
		return nguoiCapNhat;
	}

	public void setNguoiCapNhat(NguoiDung nguoiCapNhat) {
		this.nguoiCapNhat = nguoiCapNhat;
	}

	public String getTen() {
		return ten;
	}

	public void setTen(String ten) {
		this.ten = ten;
	}

	public String getMoTa() {
		return moTa;
	}

	public void setMoTa(String moTa) {
		this.moTa = moTa;
	}

	public String getGhiChu() {
		return ghiChu;
	}

	public void setGhiChu(String ghiChu) {
		this.ghiChu = ghiChu;
	}

	public int getSoLanXem() {
		return soLanXem;
	}

	public void setSoLanXem(int soLanXem) {
		this.soLanXem = soLanXem;
	}

	public Date getNgayCapNhat() {
		return ngayCapNhat;
	}

	public void setNgayCapNhat(Date ngayCapNhat) {
		this.ngayCapNhat = ngayCapNhat;
	}

	public List<DanhMuc> getDanhSach_DanhMuc() {
		return danhSach_DanhMuc;
	}

	public void setDanhSach_DanhMuc(List<DanhMuc> danhSach_DanhMuc) {
		this.danhSach_DanhMuc = danhSach_DanhMuc;
	}
	
}
